home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / wlabel.zip / WINDOWS.H < prev    next >
Text File  |  1986-06-08  |  1KB  |  39 lines

  1. /**************** Defines for windows package ***************************/
  2.  
  3. #define        SHSV           0     /* single horiz single vert line */
  4. #define        DHSV           1     /* double horiz single vert line */
  5. #define        DHDV           2
  6. #define        SHDV           3
  7. #define        BHBV           4     /* block horiz block vert line */
  8. #define        INVERSE        5        /* inverse video border */
  9. #define            NOZOOM            10    /* don't zoom box */
  10. #define            LEFT               0
  11. #define            CENTER            1
  12. #define            RIGHT               2
  13. #define        BLOCK          -1    /* block cursor */
  14. #define        LINE           0     /* line cursor */
  15.  
  16. #define        WINDOW         struct _windowdata
  17.  
  18. extern struct _windowdata {
  19.     char *writebuffer;      /* window buffer for writing */
  20.     char *savebuffer;        /* screen buffer for saving old screen */
  21.    char *editbuffer;
  22.     int toprow;
  23.     int leftcol;
  24.     int bottomrow;
  25.     int rightcol;
  26.     int height;
  27.     int width;
  28.     int rowcurrent;        /* location of cursor in window */
  29.     int colcurrent;        
  30.     int oldrowcursor;    /* location of cursor in last window */
  31.     int oldcolcursor;
  32.     int stoprow;        /* point behind which we will not backspace */
  33.     int stopcol;
  34.    int index;        /* various uses */
  35. };
  36.  
  37. extern WINDOW *wopen();
  38. extern char *wptr(), *wedit();
  39.